package com.cn.sinsosft.boot.dao;

import com.cn.sinsosft.boot.dao.impl.UserProvider;
import com.cn.sinsosft.boot.entity.User;
import org.apache.ibatis.annotations.*;

/**
 * @author wangyupeng
 * @despriction:
 * @ate:Created in 19:28 2019/1/14
 * @modify By:
 */
@Mapper
public interface UserDao {

    @SelectProvider(type =UserProvider.class,method ="login")
    User login(@Param("user")User user);
}
